<svg xmlns="http://www.w3.org/2000/svg">
  <text id="a">a</text>
  <script>
    document.getElementById("a").firstChild.nodeValue = "";
  </script>
</svg>
